package com.example.myapplication.model;

public class News {

    private String title;
    private String content;

    public News(){}

    public News(String title, String content){
        this.title = title;
        this.content = content;
    }

    public void setTitle(String title){
        this.title = title;
    }

    public void setContent(String content){
        this.content = content;
    }

    public String getTitle(){
        return this.title;
    }

    public String getContent(){
        return this.content;
    }
}
